<!DOCTYPE html>
<head>
    <meta charset="UTF-8">
    <title>公告添加</title>
    <link rel="stylesheet" type="text/css" href="../../layui/css/layui.css">
    <link rel="stylesheet" type="text/css" href="../../css/userInfo.css">
</head>
<style>
    .layui-form-label{
        width: 40px;
        padding: 9px 5px;
    }
    .layui-input-block{
        margin-left: 60px;
    }
    form{
        padding: 5px 50px 0 50px;
    }
    .layui-textarea{
        min-height: 80px;
    }
</style>
<body>
<div class="layui-row">
    <form class="layui-form" lay-filter="notice" id="notice">
            <div class="layui-form-item">
                <label class="layui-form-label">标题:</label>
                <div class="layui-input-block">
                    <input type="text" name="title" id="title" required lay-verify="required|title" placeholder="请输入标题"
                           autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">类型:</label>
                <div class="layui-input-block">
                    <input type="radio" name="type" value="0" title="学校通知">
                    <input type="radio" name="type" value="1" title="学院通知" checked>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">简介:</label>
                <div class="layui-input-block">
                    <textarea name="info" id="info" placeholder="请输入内容" rows="3"
                              style="resize: none;height: 80px;" class="layui-textarea"
                              lay-verify="required|info"></textarea>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">内容:</label>
                <div class="layui-input-block">
                    <div name="content" id="content"></div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit lay-filter="submit">立即提交</button>
                    <button type="reset" id="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </form>
</div>
<script type="text/javascript" src="../../layui/layui.js"></script>
<script type="text/javascript" src="../../js/wangEditor.min.js"></script>
<script type="text/javascript" src="../../js/add/addUtil.js"></script>
<script type="text/javascript" src="../../js/add/noticeAdd.js"></script>
</body>
</html>